<?php namespace Home\Controller; 
use Hdphp\Controller\Controller;
/**
 *  前台控制器
 */
class IndexController extends Controller{
    	//首页
    	public function index(){
    			$img = new \Common\Model\Picture();
    			$imgData = $img->limit(4)->orderBy('sort','DESC')->get();
    			$this->assign('imgData', $imgData);
    			$this->display();
    	}
}
